import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useUserStore = defineStore(
	'user',
	() => {
		// 定义响应式数据
		const token = ref('')

		return { token }
	},
	{
		persist: {
			paths: ['token'],
		},
	}
)
